#!/bin/zsh

cd `dirname $0`
pwd

echo 'start build'

cargo clean
time cargo build --release

echo 'build done'


# 发布：
# git tag v0.1.6
# git push origin v0.1.6

# rsync -avz --exclude='.DS_Store' docker/compose/ root@prod04:/opt/docker/rocksdbrest/